﻿<%@ Page Language="C#" MasterPageFile="~/Theme/Stander/Stander.master" AutoEventWireup="true" CodeFile="error404.aspx.cs" Inherits="error404"  %>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
  <div class="error">
    <h1>Ooops! I can't find the page you're looking for</h1>
    <div id="divSearchEngine" runat="server" visible="False">
      <p>
        You did a search on <strong><a href="<%=Request.UrlReferrer %>"><%=Request.UrlReferrer.Host %></a></strong>
        . However, their index seems to be out of date.
      </p>
      <h2>All is not lost!</h2>
      <p>I think that the following pages on my site will be able to help you:</p>
      <div id="divSearchResult" runat="server" />
    </div>
    
    <div id="divExternalReferrer" runat="server" visible="False">
      <p>
        You were incorrectly referred to this page by: 
        <a href="javascript:history.go(-1)"><%=Request.UrlReferrer.Host %></a> 
      </p>
      
      <p>I suggest you try one of the links below:</p>
      <ul>
        <%--<li><a href="archive.aspx"><%=Resources.labels.archive %></a></li>--%>
        <li><a href="<%=Active.Core.Utils.RelativeWebRoot %>">Home page</a></li>
      </ul>
      
      <%--<p>You can also try to <strong>search for the page you were looking for</strong>:</p>
      <blog:SearchBox runat="server" />--%>
      
      <p>I'm sorry for the inconvenience</p>
    </div>
    
    <div id="divInternalReferrer" runat="server" visible="False">
      <p>
        This one抯 down to me! Please accept my apologies for this ?I抣l see to it
        that the developer responsible for this broken link is given 20 lashes 
        (but only after he or she has fixed this problem).
      </p>
      
      <%--<p>You can also try to <strong>search for the page you were looking for</strong>:</p>
      <blog:SearchBox ID="SearchBox2" runat="server" /><br /><br />--%>
    </div>
    
    <div id="divDirectHit" runat="server" visible="False">
      <p>You might find one of the following links useful:</p>
      <ul>
        <li><a href="<%=Active.Core.Utils.RelativeWebRoot %>">Home page</a></li>
      </ul>
      <hr />
      <p><strong>You may not be able to find the page you were after because of:</strong></p>
      <ol type="a">
        <li>An <strong>out-of-date bookmark/favorite</strong></li>
        <li>A search engine that has an <strong>out-of-date listing for us</strong></li>
        <li>A <strong>miss-typed address</strong></li>
      </ol>
    </div>
  </div>
</asp:Content>

